package com.springboot2.shiro.data.service;

import com.springboot2.shiro.comm.service.JpaService;
import com.springboot2.shiro.data.enity.User;
import com.springboot2.shiro.data.repository.UserRepository;

import java.util.Set;

/**
 * UserService
 *
 * @author Archx[archx@foxmail.com]
 * at 2018/7/13 21:28
 */
public interface UserService extends JpaService<Integer, User, UserRepository> {

    Set<String> getPermissionsByLogin(String login);

    User findByLogin(String login);
}
